<template>
  <div class="elBread">
    <!-- 面包屑导航 -->
    <el-breadcrumb separator="/">
    <!-- :to="{ path: '/home' }"   面包屑导航跳转-->
      <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>   
      <el-breadcrumb-item
        ><a href="javascript:;">{{ $route.meta.title }}</a></el-breadcrumb-item
      >
    </el-breadcrumb>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {},
  mounted(){
    //通过当前路由获取面包屑导航关键字
    // console.log(this.$route.meta.title);
  }
};
</script>
<style scoped lang="less">

</style>